package com.sicau.smarttraceplatform.entity.param.area;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 地区数据更新入参
 * </p>
 *
 * @author ttxix
 * @since 2020-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("地区更新入参")
public class AreaUpdateParam {

    /**
     * id
     */
    @NotBlank
    @ApiModelProperty("id")
    private String id;

    /**
     * 省
     */
    @ApiModelProperty("省")
    private String province;

    /**
     * 市
     */
    @ApiModelProperty("市")
    private String city;

    /**
     * 县区
     */
    @ApiModelProperty("县区")
    private String district;

    /**
     * 详细地址
     */
    @NotBlank
    @ApiModelProperty("详细地址")
    private String moreAddressInfo;
}
